package com.carrental.api.ums.domain.bo;

import com.carrental.common.core.validate.AddGroup;
import com.carrental.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.carrental.common.core.domain.BaseEntity;

/**
 * 用户反馈信息业务对象 ums_feedback
 *
 * @author liangyi
 * @date 2022-03-27
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("用户反馈信息业务对象")
public class UmsFeedbackBo extends BaseEntity {

    /**
     * 反馈表id
     */
    @ApiModelProperty(value = "反馈表id")
    private Long feedbackId;

    /**
     * 反馈联系人称呼
     */
    @ApiModelProperty(value = "反馈联系人称呼", required = true)
    @NotBlank(message = "反馈联系人称呼不能为空", groups = { AddGroup.class, EditGroup.class })
    private String username;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱", required = true)
    @NotBlank(message = "邮箱不能为空", groups = { AddGroup.class, EditGroup.class })
    private String email;

    /**
     * 电话
     */
    @ApiModelProperty(value = "电话", required = true)
    @NotBlank(message = "电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String telephone;

    /**
     * 反馈标题
     */
    @ApiModelProperty(value = "反馈标题", required = true)
    @NotBlank(message = "反馈标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String title;

    /**
     * 反馈内容
     */
    @ApiModelProperty(value = "反馈内容", required = true)
    @NotBlank(message = "反馈内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String content;

    /**
     * 反馈状态
     */
    @ApiModelProperty(value = "反馈状态")
    private Long status;


}
